package com.soft.javase.day06.objectdemo;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/24
 */
public class Test {
    public static void main(String[] args) {
        StudentSystem system = new StudentSystem();

        System.out.println(system.addStudent(new Student("张三", "2023001"))); // true
        System.out.println(system.addStudent(new Student("李四", "2023002"))); // true

        System.out.println(system.addStudent(new Student("张三", "2023001"))); // false

        System.out.println(system.addStudent(new Student("张三", "2023003"))); // true

        System.out.println(system.addStudent(new Student("王五", "2023001"))); // true
    }
}
